package org.gpf.adapter;

public class PluginAdapter implements EnPluginInterface {

	private GBPluginInterface GBPlugin;

	public PluginAdapter(GBPluginInterface gBPlugin) {
		GBPlugin = gBPlugin;
	}

	/**
	 * 适配器实现了英标的接口，然后重载英标的充电方法为国标的方法
	 */
	@Override
	public void chargeWith3Pins() {
		GBPlugin.chargeWith2Pins();
	}

}
